package com.ldc.commonres.common

import android.view.View
import androidx.viewbinding.ViewBinding

abstract class VBActivity<VB : ViewBinding> : ActivityBase() {

    open var viewBind: VB? = null



    override fun loadView(): View? {
        viewBind = loadViewBinding()
        return viewBind?.root
    }

    open fun loadViewBinding(): VB = createViewBinding()
    abstract fun createViewBinding(): VB



}